## Install exact packages needed for replication
## of Blackwell and Olson (2021) 

install.packages("hdm", repos = "https://cran.rstudio.com",
                 type = "source")
devtools::install_github(
  "sgaure/lfe",
  ref = "0bba88154c3f4b2d214d9147923375d07e8ca4e5"
)
devtools::install_github(
  "mattblackwell/inters",
  ref = "0dee552e2921feb7d86d6a5f08fa51231553ef06"
)

install.packages("KRLS")
install.packages("BART")

devtools::install_version("glmnet", version = "2.0-18",
                          repos = "https://cran.rstudio.com")
